AC_INIT([light_beat], [0.1], [mike@axiak.net])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_PROG_CC
AC_CONFIG_FILES([
 Makefile
 src/Makefile
])

PKG_CHECK_MODULES(LIBFFTW3, [ fftw3 >= 3 ])
AC_SUBST(LIBFFTW3_CFLAGS)
AC_SUBST(LIBFFTW3_LIBS)

PKG_CHECK_MODULES(LIBPULSEAUDIO, [ libpulse >= 0.9.10 ])
AC_SUBST(LIBPULSEAUDIO_CFLAGS)
AC_SUBST(LIBPULSEAUDIO_LIBS)



AC_OUTPUT
